interface ProsonInterFace{
    name:string,
    age:number,
    eat():void
}

// implements 约定某个类必须实现某个功能呢
// implements 强制遵守  ProsonInterFace 的规定
class Wo implements ProsonInterFace {
    name:string = "小明" // 都要写才不会报错
    age:number = 16
    eat(){}
}